package com.customer.crm.customer.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.customer.crm.customer.mapper.CustomerMapper;
import com.customer.crm.customer.pojo.Customer;
import com.customer.crm.customer.service.CustomerService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Lyp
 * @create 2021/12/22
 */
@Service
public class CustomerServiceImpl extends ServiceImpl<CustomerMapper , Customer> implements CustomerService {
    @Override
    public List<Customer> findCustomer(Long page,  Long rows) {
        return baseMapper.findCustomer(page, rows);
    }

    @Override
    public String findDays() {
        return baseMapper.findDays();
    }
}
